package com.ygqh.customs.service.impl;

import com.ygqh.customs.mapper.YgOrderMapper;
import com.ygqh.customs.model.OrderData;
import com.ygqh.customs.service.YgOrderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * 〈〉
 *
 * @author guohao
 * @date 2019/3/18 18:29
 * @since 1.0.0
 */
@Service
public class YgOrderServiceImpl implements YgOrderService {

    @Autowired
    private YgOrderMapper ygOrderMapper;

    @Override
    public OrderData findOrderDataByPaymentCode(String paymentCode) {
        return ygOrderMapper.selectOrderDataPaymentCode(paymentCode);
    }
}
